package com.systop.asset.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.systop.asset.entity.TransferDetail;

import java.util.Date;
import java.util.List;

/**
 * <p>ClassName : TransferVo</p>
 * <p>Description : </p>
 *
 * @author 孙伟光
 * @version 1.0
 * @date 2025/7/2 9:00
 */
public class TransferVo {

    private static final long serialVersionUID = 1L;

    /** 调拨ID */
    private Long id;

    /** 调拨单号 */
    private String orderNo;

    /** 调拨部门ID */
    private Long toDeptId;

    /** 调拨部门名称 */
    private String toDeptName;

    /** 调拨公司名称 */
    private String toCompanyName;

    /** 调拨位置ID */
    private Long toLocationId;

    /** 调拨位置名称 */
    private String toLocationName;

    /** 状态 0-闲置 1-领用中 2-使用中 3-维修中 4-已报废 5-其他 */
    private Long status;

    /** 操作人ID */
    private Long operatorId;

    /** 操作人 */
    private String operator;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 备注 */
    private String remark;

    /** 调拨原因 */
    private String reason;

    /** 快递单号 */
    private String trackingNumber;

    /** 调拨详情 */
    private List<TransferDetail>  transferDetails;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Long getToDeptId() {
        return toDeptId;
    }

    public void setToDeptId(Long toDeptId) {
        this.toDeptId = toDeptId;
    }

    public String getToDeptName() {
        return toDeptName;
    }

    public void setToDeptName(String toDeptName) {
        this.toDeptName = toDeptName;
    }

    public String getToCompanyName() {
        return toCompanyName;
    }

    public void setToCompanyName(String toCompanyName) {
        this.toCompanyName = toCompanyName;
    }

    public Long getToLocationId() {
        return toLocationId;
    }

    public void setToLocationId(Long toLocationId) {
        this.toLocationId = toLocationId;
    }

    public String getToLocationName() {
        return toLocationName;
    }

    public void setToLocationName(String toLocationName) {
        this.toLocationName = toLocationName;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<TransferDetail> getTransferDetails() {
        return transferDetails;
    }

    public void setTransferDetails(List<TransferDetail> transferDetails) {
        this.transferDetails = transferDetails;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getTrackingNumber() {
        return trackingNumber;
    }

    public void setTrackingNumber(String trackingNumber) {
        this.trackingNumber = trackingNumber;
    }
}
